package com.guigu.wenzhiyi.service.impl;

import com.guigu.wenzhiyi.mapper.MproceduremoduleMapper;
import com.guigu.wenzhiyi.pojo.Mproceduremodule;
import com.guigu.wenzhiyi.service.MproceduremoduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MproceduremoduleServiceImpl implements MproceduremoduleService {

    @Autowired
    MproceduremoduleMapper mproceduremoduleMapper;


    @Override
    public int insert(Mproceduremodule mproceduremodule) {
        return mproceduremoduleMapper.insert(mproceduremodule);
    }

    @Override
    public int updateWXY(Mproceduremodule mproceduremodule) {
        return mproceduremoduleMapper.updateByPrimaryKeySelective(mproceduremodule);
    }

    @Override
    public List<Mproceduremodule> mManufactureWZY_SH_list(Integer id) {
        return mproceduremoduleMapper.mManufactureWZY_SH_list(id);
    }
}
